package cn.tedu.ivoswork.vehicle.service.impl;

import cn.tedu.ivoswork.vehicle.mapper.VehicleMapper;
import cn.tedu.ivoswork.vehicle.pojo.dto.VehicleQuery;
import cn.tedu.ivoswork.vehicle.pojo.vo.VehicleVO;
import cn.tedu.ivoswork.vehicle.service.IVehicleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Slf4j
@Service
public class VehicleService implements IVehicleService {
    @Autowired
    VehicleMapper vehicleMapper;

    @Override
    public List<VehicleVO> select(VehicleQuery vehicleQuery) {
        log.debug("查询车辆业务：参数={}",vehicleQuery);
        return vehicleMapper.select(vehicleQuery);
    }
}
